<?php 
if(!defined('ADMIN')){
	exit('Access Denied');
}


?>
<div class="pageContent">
<form action="index.php?mod=<?=MOD?>&act=<?=ACT?>" method="post"  class="pageForm required-validate"  name="form1" onsubmit="return validateCallback(this, dialogAjaxDone);">
<input type="hidden" name="id" value="<?=$row['id']?>" />
<input type="hidden" name="sub" value="save" />
<div class="pageFormContent" layoutH="60">

<p><label>请上级分类：</label>
<?=select($catlist,$row['parentid'],'parentid','')?></p>


<p><label>分类名称：</label>
<input name="catname" type="text" size="20"  id="catname" value="<?=$row['name']?>" class="required" /></p>
<p><label>分类描述：</label>
<input name="meta_description" type="text" size="50"  id="meta_description" value="<?=$row['meta_description']?>" />&nbsp;<span></span></p>
</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
				</li>
			</ul>
		</div>
</form>
</div>
